Skip to content

WiFi: retry a saved network forever instead of giving up after 4 attempts - #2

Open
xtrack33 wants to merge 1 commit into
masterfrom
fix/wifi-autoconnect-retries
Open

WiFi: retry a saved network forever instead of giving up after 4 attempts#2
xtrack33 wants to merge 1 commit into
masterfrom
fix/wifi-autoconnect-retries

Conversation

@xtrack33

@xtrack33 xtrack33 commented Sep 5, 2026

Copy link
Copy Markdown

A pad whose access point is not visible for ~2 minutes at boot never reconnects: NetworkManager tries the saved profile 4 times (default autoconnect-retries), gives up, and the printer stays offline until someone opens the network panel and triggers a scan. Seen on the bench with a phone hotspot asleep at boot; sonar only caught up ~10 minutes later.

add_network() now creates every WiFi profile with connection.autoconnect-retries = 0 (retry forever). A global default in NetworkManager.conf is not possible: NM 1.52 rejects the key as an unknown connection default. Existing profiles are handled on the YumiOS side by the NetworkManager dispatcher (YumiOS-Klipper-V2, sonar module), which sets the same value the first time a profile comes up.

A pad whose access point is not visible for about two minutes at boot never
reconnects: NetworkManager tries the saved profile four times (its default
autoconnect-retries), gives up, and the printer stays offline until someone
opens the network panel and triggers a scan. Seen on the bench with a phone
hotspot that was asleep when the pad booted.

Create every WiFi profile with autoconnect-retries = 0 (retry forever). The
same value cannot be set globally in NetworkManager.conf on NM 1.52, which
rejects it as an unknown connection default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant